package cn.hd.service;

import cn.hd.entity.Product;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface ProductService {
    //添加
    public int addProduct(Product product);
    //删除
    public int delProduct(long id);
    //根据name查询

    public List<Product> selectByNameProduct(Map map);

}
